package com.shuiyun.jtt.entity.form;

import com.shuiyun.jtt.message.jt808.extend.InflectionPoint;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 设置路线区域
 * @author shuiyun
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class T8606Form extends BaseForm{

    @ApiModelProperty(value = "区域ID",example = "1")
    private Integer areaId;

    @ApiModelProperty(value = "属性",example = "3",notes = "" +
            "bit0-是否启用开始结束时间判断规则 " +
            "bit2-进入区域是否报警给驾驶员" +
            "bit3-进入区域是否报警给平台" +
            "bit4-离开区域是否报警给驾驶员" +
            "bit5-离开区域是否报警给平台" )
    private Integer attribute;

    @ApiModelProperty(value = "开始时间(yyMMddHHmmss)",example = "220202144010")
    private String startTime;

    @ApiModelProperty(value = "结束时间(yyMMddHHmmss)",example = "220202144020")
    private String endTime;

    @ApiModelProperty(value = "拐点项")
    private List<InflectionPoint> points;

    @ApiModelProperty(value = "区域名称",example = "路线区域名称")
    private String name;
}
